% TEST_ID: LANG-EXPAND-0043
% CATEGORY: language/array-ops/modify
% 测试 A(:, 1) = [] 操作

function test_del_modify
    A = [1, 2, 3; 4, 5, 6];
    A(:, 1) = [];
    assert(isequal(A, [2 3; 5 6]));

    A = [1, 2, 3; 4, 5, 6];
    A(:, [1 3]) = [];
    assert(isequal(A, [2; 5])); % Test deleting multiple columns
end

